package com.hoshiibuy.dictionary.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hoshiibuy.dictionary.mapper.IDicOccupClsMapper;
import com.hoshiibuy.dictionary.service.IDicOccupClsService;
import com.hoshiibuy.dictionary.entity.DicOccupClsVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author guangjinwei
 * @create 2019-04-18
 */
@Service
public class DicOccupClsServiceImpl extends ServiceImpl<IDicOccupClsMapper, DicOccupClsVo> implements IDicOccupClsService {
    @Override
    public List<DicOccupClsVo> findDicOccupClsList() {
        return baseMapper.findDicOccupClsList();
    }

    @Override
    public void saveDicOccupCls(DicOccupClsVo dicOccupClsVo) {
        baseMapper.insert(dicOccupClsVo);
    }


}
